#ifndef _NRooksSampler_H_
#define _NRooksSampler_H_

#pragma once
#include "Sampler.h"

class NRooksSampler : public Sampler {
private:
	void generateSamples() {
		samples.reserve(numSets * numSamples);

		for (int p = 0; p < numSets; p++)
			for (int j = 0; j < numSamples; j++)
				samples.emplace_back((j + RAND) / numSamples, (j + RAND) / numSamples);

		shuffle_X_Coordinates();
		shuffle_Y_Coordinates();
	}

public:
	NRooksSampler(int numSamples) : Sampler(numSamples) {}
	NRooksSampler(int numSamples, int numSets) : Sampler(numSamples, numSets) {}
	~NRooksSampler() {}
};

#endif // _NRooksSampler_H_
